#include <iostream>
#include <unistd.h>

using std::cout;
using std::endl;

int main()
{
    //pid_t pi = fork();

    //if (pi == 0)
    //{
    //    while (1)
    //    {
    //        cout << "I am child" << ", pid: " << getpid() << ", ppid: " << getppid() << endl;
    //        sleep(2);
    //    }
    //}
    //else 
    //{
    //    cout << "i am father pid: " << getpid() << endl;
    //    sleep(50);
    //}
    //
    
    while (1)
    {
        cout << "hello world" << endl;
    }

    return 0;
}
